/**
 * 引入 ramda 库
 * @param {x, y, z}
 * @returns {sum}
*/

const R = require('ramda')

const addThreeNumbers = (x, y, z) => x + y + z
const curryAdd = R.curry(addThreeNumbers)

// console.log(addThreeNumbers(1, 2, 3))

console.log(curryAdd(1)(2)(3))